package org.seckill.dao;

import org.seckill.entity.SuccessKillsed;

/**
 * Created by whl on 2017/6/27.
 */
public interface SuccessKilledDao {
    /**
     *
     * @param seckillId
     * @param userPhone
     * @return
     */
    int insertSuccessKilled(long seckillId,long userPhone);

    /**
     *
     * @param seckillId
     * @return
     */
    SuccessKillsed queryByIdWithSeckill(long seckillId);
}
